def is_time_conflicts(time1, time2):
    day1,start_time1, end_time1 = parse_time(time1)
    day2,start_time2, end_time2 = parse_time(time2)
    if day1 != day2:
        return False
    if end_time1 < start_time2 or end_time2 < start_time1:
        return False

    return True

def parse_time(time1):
    day, time_range = time1.split(" ")
    start_time, end_time = time_range.split("-")
    start_time = float(start_time.replace(":", "."))
    end_time = float(end_time.replace(":", "."))
    return day, start_time, end_time

if __name__ == '__main__':
     print("8:00" < "9:00")